package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author wei
 * @create 2023-02-18 11:07
 */
@ApiModel(value = "盘点单里的资产列表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StocktakingAssetsVO {

    @ApiModelProperty(name = "assetsId",notes = "资产id")
    private Long assetsId;

    @ApiModelProperty(name = "assetsName",notes = "资产名称")
    private String assetsName;

    @ApiModelProperty(name = "srState",notes = "状态(1:未盘点，2:已盘点)")
    private Integer srState;

    @ApiModelProperty(name = "assetsPhoto",notes = "资产照片")
    private String assetsPhoto;

    @ApiModelProperty(name = "label",notes = "标签")
    private String label;

    @ApiModelProperty(name = "assetTypeName",notes = "资产类别")
    private String assetTypeName;

    @ApiModelProperty(name = "assetsSerialNumber",notes = "设备序列号")
    private String assetsSerialNumber;

    @ApiModelProperty(name = "assetsCode",notes = "资产编码")
    private String assetsCode;

    @ApiModelProperty(name = "modelName",notes = "规格型号")
    private String modelName;

    @ApiModelProperty(name = "unit",notes = "计量单位")
    private String unit;

    @ApiModelProperty(name = "originalAssetsRegion",notes = "原来的区域名称")
    private String originalAssetsRegion;

    @ApiModelProperty(name = "originalAssetsStorageLocation",notes = "原来的资产存放点")
    private String originalAssetsStorageLocation;

    @ApiModelProperty(name = "originalCompanyName",notes = "原来的使用公司")
    private String originalCompanyName;

    @ApiModelProperty(name = "originalDepartmentName",notes = "原来的使用部门")
    private String originalDepartmentName;

    @ApiModelProperty(name = "assetsAdmin",notes = "所属公司")
    private String assetsAdmin;

    @ApiModelProperty(name = "originalEmployeeName",notes = "原来的使用人")
    private String originalEmployeeName;

    @ApiModelProperty(name = "editedAssetsRegion",notes = "修改后的区域")
    private String editedAssetsRegion;

    @ApiModelProperty(name = "editedAssetsStorageLocation",notes = "修改后的存放地点")
    private String editedAssetsStorageLocation;

    @ApiModelProperty(name = "editedCompanyName",notes = "修改后的使用公司")
    private String editedCompanyName;

    @ApiModelProperty(name = "editedEmployeeName",notes = "修改后的使用人")
    private String editedEmployeeName;

    @ApiModelProperty(name = "srStocktakingMan",notes = "盘点人")
    private String srStocktakingMan;

    @ApiModelProperty(name = "srStocktakingTime",notes = "盘点时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp srStocktakingTime;

    @ApiModelProperty(name = "srRemark",notes = "盘点备注")
    private String srRemark;

}
